<template>
  <div>
    <div class="header">
      <span @click="fun">&lt;</span>
      <span>初春鲜果节（APP）</span>
      <span class="iconfont icon-fenxiang"></span>
    </div>
    <div class="imgs">
        <img src="@/assets/youhui/tou.jpg" alt="">
    </div>
  </div>
</template>

<script>
export default {
  methods: {
    fun() {
      this.$router.push("./shouye");
    },
  },
};
</script>

<style scoped>
.header {
  position: fixed;
  width: 100%;
  height: 0.4rem;
  line-height: 0.4rem;
  display: flex;
  text-align: center;
  background: white;
  top: 0;
  z-index: 1;
}
span:nth-child(1) {
  margin-left: 0.2rem;
}
span:nth-child(2) {
  flex: 1;
}
span:nth-child(3) {
  margin-right: 0.2rem;
}
.imgs>img{
    width: 3.75rem;
    margin-top: .41rem;
    display: block;
}
</style>